home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-07-15 | 700 b | 22 lines | [TEXT/KAHL] |
-
- Application: CalcCMask & CalcMask
-
- Description: This snippet shows how to use both CalcCMask or
- CalcMask to create a mask given a source bitmap
- image. As decribed on pages IV-24 and V-72 of
- Inside Mac, the two routines compute a destination
- bitmap image with 1's only in the pixels where
- paint can not leak from any of the outer edges,
- This is similar to the lasso tool found in many
- drawing apps.
-
- File: CalcCMask & CalcMask.π
- CalcCMask & CalcMask.c
- CalcCMask & CalcMask.π.rsrc
-
- Programmer: Edgar Lee
- Organization: Apple Computer, Inc.
- Department: Developer Technical Support, DTS
- Language: C (Think C version 5.0.1)
- Date Created: 2-26-92
-